package com.homework.g2021;

public class Wuya implements IFlyable{
	private Integer id;
   
	@Override
	public String toString() {
		return "乌鸦: id="+id;
	}

	public Wuya(Integer id) {
		super();
		this.id = id;
		
	}
	public Wuya() {
		super();
		
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public void setList(Integer id) {
		this.id = id;
	}

	public void fly() {
		System.out.println("id="+id+"乌鸦飞");
	}
	
}
